package com.xmy.study.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-08
 */
@TableName("sys_dict")
@ApiModel(value = "Dict对象", description = "字典表")
public class Dict implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer num;

    @ApiModelProperty("上一个，季度版块朋用到获取上一个季度")
    private Integer lastNum;

    private String name;

    @ApiModelProperty("别名")
    private String otherName;

    private Integer type;

    @ApiModelProperty("可以用来分组用")
    private Integer tag;

    private String remark;

    private Integer sort;

    private Integer status;

    @ApiModelProperty("数量，如：3课时=300元，为3")
    private Integer count;

    @ApiModelProperty("数量，如：3课时=300元，为300")
    private BigDecimal money;

    private Integer deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
    public Integer getLastNum() {
        return lastNum;
    }

    public void setLastNum(Integer lastNum) {
        this.lastNum = lastNum;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getOtherName() {
        return otherName;
    }

    public void setOtherName(String otherName) {
        this.otherName = otherName;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getTag() {
        return tag;
    }

    public void setTag(Integer tag) {
        this.tag = tag;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "Dict{" +
            "id=" + id +
            ", num=" + num +
            ", lastNum=" + lastNum +
            ", name=" + name +
            ", otherName=" + otherName +
            ", type=" + type +
            ", tag=" + tag +
            ", remark=" + remark +
            ", sort=" + sort +
            ", status=" + status +
            ", count=" + count +
            ", money=" + money +
            ", deleted=" + deleted +
        "}";
    }
}
